<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content=""/>
    <meta name="author" content=""/>
    <!-- 允许加载图片 -->
    <meta name="referrer" content="no-referrer">
    <link rel="icon" href="./img/asset-favicon.ico"/>
    <title>社交-我的主页</title>
    <!-- 页面 css js -->
    <!-- <script type="text/javascript" src="../../plugins/sui/sui.min.js"></script> -->
    <link rel="stylesheet" type="text/css" href="./plugins/normalize-css/normalize.css"/>
    <link rel="stylesheet" type="text/css" href="./plugins/yui/cssgrids-min.css"/>
    <link rel="stylesheet" type="text/css" href="./plugins/sui/sui.min.css"/>
    <link rel="stylesheet" type="text/css" href="./plugins/sui/sui-append.min.css"/>
    <link rel="stylesheet" type="text/css" href="./plugins/font-awesome/css/font-awesome.min.css"/>
    <link rel="stylesheet" type="text/css" href="./css/widget-base.css"/>
    <link rel="stylesheet" type="text/css" href="./css/widget-head-foot.css"/>
    <link rel="stylesheet" type="text/css" href="./css/page-sj-person-account.css"/>
</head>
<body>
<div class="wrapper">
    <header id="base_nav">
        <div class="sui-navbar">
            <div class="navbar-inner">
                <a href="index.html" class="sui-brand"><img src="./img/asset-logo-black.png" alt="社交"/></a>
                <ul class="sui-nav">
                    <li class="active"><a href="./index.html">头条</a></li>
                    <li><a href="./qa-login.html">问答</a></li>
                    <li><a href="./activity-index.html">活动</a></li>
                    <li><a href="#">交友</a></li>
                    <li><a href="./spit-index.html">吐槽</a></li>
                    <li><a href="#">招聘</a></li>
                </ul>
                <form class="sui-form sui-form pull-left">
                    <input type="text" placeholder="输入关键词..."/>
                    <span class="btn-search fa fa-search"></span>
                </form>
                <div v-cloak>
                    <div class="sui-nav pull-right info" v-if="logging_status">
                        <li><a href="./other-notice.html" target="_blank" class="notice" v-cloak>{{ nickname }}</a></li>
                        <li class="hover"><span class="fa fa-plus "></span>
                            <ul class="hoverinfo">
                                <li><i class="fa fa-share-alt" aria-hidden="true"></i> <a
                                        href="./headline-submit.html">去分享</a></li>
                                <li><i class="fa fa-question-circle" aria-hidden="true"></i> <a href="./qa-submit.html"
                                                                                                target="_blank">提问题</a>
                                </li>
                                <li><i class="fa fa-comments" aria-hidden="true"></i><a href="./spit-submit.html"
                                                                                        target="_blank">去吐槽</a></li>
                                <li><i class="fa fa-heartbeat" aria-hidden="true"></i> <a
                                        href="./makeFriends-submit.html"
                                        target="_blank">发约会</a></li>
                            </ul>
                        </li>
                        <li><a href="./person-homepage.html" target="_blank" class="homego"><img :src="avatar_url"
                                                                                                 alt="用户头像"/></a></li>
                    </div>
                    <div class="sui-nav pull-right info" v-else>
                        <li><a href="./person-loginsign.html" target="_blank">注册</a></li>
                        <li><a href="./person-loginsign.html" target="_blank" class="sui-btn btn-login">登录</a></li>
                    </div>
                </div>
            </div>
        </div>
    </header>
</div>
<div class="tab-nav ">
    <div class="wrapper">
        <ul class="fl sui-nav nav-tabs navbar-dark">
            <li class="active"><a href="#index" data-toggle="tab">首页</a></li>
            <li><a href="#php" data-toggle="tab">Php</a></li>
            <li><a href="#js" data-toggle="tab">Javascript </a></li>
            <li><a href="#python" data-toggle="tab">Python</a></li>
            <li><a href="#java" data-toggle="tab">Java</a></li>
        </ul>
        <span class="fr more"><a href="./qa-allTag.html" target="_blank">更多</a></span>
        <div class="clearfix"></div>
    </div>
</div>
<div id="app">
    <!-- :style="{ 'background-image': 'url(' + first_name + ')',  backgroundRepeat:'no-repeat',backgroundSize:'100% 100%'}" -->
    <div class="myhome-personinfo" style="background:url(img/sky.jpg)0 /cover fixed;">

        <div class="wrapper">
            <div class="person-baseinfo">
                <!--头像信息-->
                <div class="photo">
                    <img :src="avatar_url" alt="" class="person"/>
                    <div class="change_photo" @click.stop="uploadHeadImg">
                        <b class="change_photo_text">更换头像</b>
                    </div>
                    <input type="file" accept="image/*" @change="handleFile" class="hiddenInput" style="display: none"/>
                    <div class="share">
                        <span><img src="./img/weixin(1).png" alt="" width="28" height="28"/></span>
                        <span><img src="./img/qq.png" alt="" width="28" height="28"/></span>
                        <span><img src="./img/sina0.png" alt="" width="32" height="32"/></span>
                    </div>
                </div>
                <!--文字信息-->
                <div class="info">
                    <h1 v-cloak>{{ nickname }}<span class="allinfo"><a href="./person-myfile.html"
                                                                       target="_blank">查看完整档案</a></span></h1>
                    <ul class="fill">
                    <li><i class="fa fa-map-marker" aria-hidden="true"></i> <span class="edit-item"> {{ city }}</span></li>
                    <li><i class="fa fa-graduation-cap" aria-hidden="true"></i> <span class="edit-item"> {{ school }}</span></li>
                    <li><i class="fa fa-shopping-bag" aria-hidden="true"></i> <span class="edit-item"> {{ company }}</span></li>
                    <li><i class="fa fa-link" aria-hidden="true"></i> <span class="edit-item"><a v-cloak :href="'https://'+personal_url" target="_blank" style="color:#e1ecf4;text-decoration:none;">{{ personal_url }}</a></span></li>
                    </ul>
                </div>
            </div>
            <!--右侧编辑-->
            <div class="edit-info">
                <h4>个人简介<span class="addedit"><img src="./img/widget-edit.png" width="12" height="12"/>编辑</span></h4>
                <div class="info-box">
                    <div class="edit-intro">
                        暂时没有个人简介
                    </div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    <!--两列布局-->
    <div class="wrapper  myhome">
        <div class="left-list">
            <div class="myhome-list">
                <ul class="home-list">
                    <li><a href="./person-homepage.html">我的主页</a></li>
                    <li><a href="./person-myanswer.html">我的回答</a></li>
                    <li><a href="./person-myquestion.html">我的提问</a></li>
                    <li><a href="./person-myshare.html">我的分享</a></li>
                </ul>
                <ul class="home-list bottom">
                    <li><a href="./person-dynamic.html">个人动态</a></li>
                    <li><a href="./person-myfocus.html">我的关注</a></li>
                    <li><a href="./person-mycollect.html">我的收藏</a></li>
                    <li><a href="./person-myreaded.html">浏览记录</a></li>
                    <li class="active"><a href="./person-account.html">账户设置</a></li>
                </ul>
            </div>
        </div>
        <div class="right-content">
            <div class="home-content">

                <div class="activities account-type">
                    <h4 class="tit"><span>账户设置</span></h4>
                    <div class="account-main">


                        <div class="account-person">
                            <h3>个人账号</h3>
                            <ul class="account-info" v-cloak>
                                <li><span class="gray index">名字</span> <span class="info" v-show="!nickname_edit">
                                        <span v-if="nickname">{{ nickname }}</span>
                                        <span style="color: #bbbbbb" v-else>未设置</span>
                                    </span>
                                    <span class="gray edit" @click="nickname_edit = !nickname_edit"><i
                                            class="fa fa-pencil" aria-hidden="true"></i>
                                        <i v-if="nickname_edit">取消</i>
                                        <i v-else>编辑</i>
                                    </span>
                                    <div class="sui-form form-inline" v-show="nickname_edit">
                                        <input type="text" placeholder="输入姓名" v-model="nickname_edit_info"/>
                                        <button class="sui-btn btn-danger save-btn"
                                                @click="update_user_info('nickname', nickname_edit_info); nickname_edit = false">
                                            保存
                                        </button>
                                    </div>

                                </li>
                                <li><span class="gray index">个性网址</span> <span class="info" v-show="!personal_url_edit">
                                        <span v-if="personal_url">{{ personal_url }}</span>
                                        <span style="color: #bbbbbb" v-else>未设置</span>
                                    </span>
                                    <span class="gray edit" @click="personal_url_edit = !personal_url_edit"><i
                                            class="fa fa-pencil" aria-hidden="true"></i>
                                        <i v-if="personal_url_edit">取消</i>
                                        <i v-else>编辑</i>
                                     </span>
                                    <div class="sui-form form-inline" v-show="personal_url_edit">
                                        <input type="text" placeholder="输入网址" v-model="personal_url_edit_info"/>
                                        <button class="sui-btn btn-danger save-btn"
                                                @click="update_user_info('personal_url', personal_url_edit_info); personal_url_edit = false">
                                            保存
                                        </button>
                                    </div>
                                </li>
                                <li><span class="gray index">Email </span> <span class="info" v-show="!email_edit">
                                        <span v-if="email">{{ email }}
                                            <span style="color: green" v-show="email_active">已验证</span>
                                            <span style="color: red" v-show="!email_active && !email_active_info"
                                                  @click="send_email">未验证</span>
                                            <span style="color: #888"
                                                  v-show="!email_active && email_active_info">已发送</span>
                                        </span>
                                        <span style="color: #bbbbbb" v-else>未设置</span>
                                    </span>
                                    <span class="gray edit" @click="email_edit = !email_edit"><i class="fa fa-pencil"
                                                                                                 aria-hidden="true"></i>
                                        <i v-if="email_edit">取消</i>
                                        <i v-else>编辑</i>
                                    </span>
                                    <div class="sui-form form-inline" v-show="email_edit">
                                        <input type="email" placeholder="输入邮箱" v-model="email_edit_info"/>
                                        <button class="sui-btn btn-danger save-btn"
                                                @click="update_user_info('email', email_edit_info); email_edit = false">
                                            保存
                                        </button>
                                    </div>
                                </li>
                                <li><span class="gray index">手机号码 </span> <span class="info" v-show="!mobile_edit">
                                        <span v-if="mobile">{{ mobile }}</span>
                                        <span style="color: #bbbbbb" v-else>未设置</span>
                                    </span>
                                    <span class="gray edit" @click="mobile_edit = !mobile_edit"><i class="fa fa-pencil"
                                                                                                   aria-hidden="true"></i>
                                        <i v-if="mobile_edit">取消</i>
                                        <i v-else>编辑</i>
                                    </span>
                                    <div class="sui-form form-inline" v-show="mobile_edit">
                                        <input type="phone" placeholder="输入手机号码" v-model="mobile_edit_info"/>
                                        <button class="sui-btn btn-danger save-btn"
                                                @click="update_user_info('mobile', mobile_edit_info); mobile_edit = false">
                                            保存
                                        </button>
                                    </div>

                                </li>
                                <li><span class="gray index">密码 </span> <span class="info" v-show="!password_edit"
                                                                              @click="password_edit = true">点击修改密码</span>
                                    <span class="gray edit" @click="password_edit = !password_edit"><i
                                            class="fa fa-pencil" aria-hidden="true"></i>
                                        <i v-if="password_edit">取消</i>
                                        <i v-else>编辑</i>
                                    </span>
                                    <div class="sui-form form-inline" v-show="password_edit">
                                        <input type="password" placeholder="输入新的密码" v-model="password_edit_info"/>
                                        <button class="sui-btn btn-danger save-btn"
                                                @click="update_user_info('password', password_edit_info); password_edit = false">
                                            保存
                                        </button>
                                    </div>

                                </li>
                            </ul>
                        </div>
                        <div class="account-other">
                            <h3>第三方账号</h3>
                            <ul class="account-info">
                                <li>
                                    <span class="gray index"><img src="./img/weixin(1).png" width="20"/> 微信</span>
                                    <span class="name bind">绑定账号</span>
                                    <span class="gray check"><i class="fa fa-square-o" aria-hidden="true"></i> 公开显示</span>
                                </li>
                                <li>
                                    <span class="gray index" v-show="QQ_bind!=1"><img src="./img/qq(1).png" width="20"/> QQ</span>
                                    <span class="gray index" v-show="QQ_bind==1"><img src="./img/qq.png" width="20"/> QQ</span>
                                    <span class="name bind" v-show="QQ_bind!=1" @click="qq_login">绑定账号</span>
                                    <span class="name" v-show="QQ_bind==1" @click="del_QQ_bind">已绑定，解绑</span>
                                    <span class="gray check"><i class="fa fa-square-o" aria-hidden="true"></i> 公开显示</span>
                                </li>
                                <li>
                                    <span class="gray index"><img src="./img/sina0.png" width="20"/> 新浪微博 </span>
                                    <span class="name">已绑定，解绑</span>
                                    <span class="gray check"><i class="fa fa-square-o" aria-hidden="true"></i> 公开显示</span>
                                </li>
                            </ul>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>
<div class="footer">
    <div class="wrapper">
        <div class="footer-bottom">
            <div class="link">
                <dl>
                    <dt>
                        网站相关
                    </dt>
                    <dd>
                        <a href="./acticle-aboutUs.html" target="right">关于我们</a>
                    </dd>
                    <dd>
                        <a href="./acticle-serviceTerm.html" target="right">服务条款</a>
                    </dd>
                    <dd>
                        <a href="./acticle-helpCenter.html" target="right">帮助中心</a>
                    </dd>
                    <dd>
                        <a href="./acticle-editorGrammar.html" target="right">编辑器语法</a>
                    </dd>
                </dl>
                <dl>
                    <dt>
                        联系我们
                    </dt>
                    <dd>
                        <a href="./acticle-joinUs.html" target="right">加入我们</a>
                    </dd>
                    <dd>
                        <a href="http://bbs.itheima.com/forum.php">传智论坛</a>
                    </dd>
                </dl>
                <dl>
                    <dt>
                        联系我们
                    </dt>
                    <dd>
                        <a href="./acticle-contactus.html" target="right">联系我们</a>
                    </dd>
                    <dd>
                        <a href="./acticle-joinUs.html" target="right">加入我们</a>
                    </dd>
                    <dd>
                        <a href="./acticle-feedback.html" target="right">建议反馈</a>
                    </dd>
                </dl>
                <dl>
                    <dt>
                        关注我们
                    </dt>
                    <dd>
                        <a href="https://weibo.com/itheima">微博</a>
                    </dd>
                    <dd>
                        twitter
                    </dd>
                </dl>
                <div class="xuke">
                    <h3>内容许可</h3>
                    <p>除特别说明外，用户内容均采用知识共享署名-非商业性使用-禁止演绎4.0 国际许可协议 (CC BY-NC-ND 4.0) 进行许可</p>
                    <p>本站由 传智研究院 提供更新服务</p>
                </div>
            </div>
            <p class="Copyright">Copyright &copy; 2017 传智问答社区 当前版本 0.0.1</p>
        </div>
    </div>
</div>
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="js/axios-0.18.0.min.js"></script>
<script type="text/javascript" src="js/vue-2.5.16.js"></script>
<script type="text/javascript" src="js/layer/layer.js"></script>
<script type="text/javascript" src="js/base.js"></script>
<script type="text/javascript" src="js/base_nav.js"></script>
<script type="text/javascript" src="js/person-account.js"></script>
</body>
</html>